<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<jsp:include page="base.jsp"></jsp:include>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>欢迎</title>
	<script type="text/javascript">
		function login() {
			if(!$('#user_info').form('validate')) {
				return;
			} else {
				$('#user_info').submit();
			}
		}
		
		function cleardata(){
			$('#user_info').form('clear');
		}
	</script>
</head>
<body>
	<div id="dd" style="padding:5px;width:400px;height:200px;">
		<form id="user_info" action="/S3H3L3/userInfo/login.do" method="post">
			<label>账户：</label><input id="userName" name="userName" width="200px;" class="easyui-validatebox" required="true"/><br/>
			<label>密码：</label><input type="password" id="password" name="password" width="200px;" class="easyui-validatebox" required="true"/><br/>
			<a href="#" class="easyui-linkbutton" onclick="login();">登录</a>
			<a href="#" class="easyui-linkbutton" onclick="cleardata();">取消</a>
		</form>
	</div>
</body>
</html>